var autoPrintByDispatchNumberJson ={
    "panels": [
        {
            "index": 0,
            "paperType": "A4",
            "height": 297,
            "width": 210,
            "paperHeader": 313.5,
            "paperFooter": 841.8897637795277,
            "printElements": [
                {
                    "options": {
                        "left": 1.5,
                        "top": 16.5,
                        "height": 9.75,
                        "width": 594,
                        "title": "发车单",
                        "testData": "发车单",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 13.5,
                        "letterSpacing": 3,
                        "textAlign": "center",
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 147,
                        "top": 36,
                        "height": 9.75,
                        "width": 156,
                        "title": "收货门店",
                        "field": "getUnit",
                        "testData": "收货门店",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 322.5,
                        "top": 36,
                        "height": 9.75,
                        "width": 120,
                        "title": "发货日期",
                        "field": "setMentiontime",
                        "testData": "发货日期",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 465,
                        "top": 36,
                        "height": 9.75,
                        "width": 120,
                        "title": "门店电话",
                        "field": "getTel",
                        "testData": "门店电话",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 16.5,
                        "top": 36,
                        "height": 9.75,
                        "width": 120,
                        "title": "发车方",
                        "field": "setUnit",
                        "testData": "发车方",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 313.5,
                        "top": 57,
                        "height": 9.75,
                        "width": 88.5,
                        "title": "总件数",
                        "field": "allSum",
                        "testData": "总件数"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 411,
                        "top": 57,
                        "height": 9.75,
                        "width": 70.5,
                        "title": "整件",
                        "field": "zxSum",
                        "testData": "整件",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 18,
                        "top": 57,
                        "height": 9.75,
                        "width": 192,
                        "title": "地址",
                        "field": "getLocation",
                        "testData": "地址",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 496.5,
                        "top": 57,
                        "height": 9.75,
                        "width": 85.5,
                        "title": "拆零",
                        "field": "clSum",
                        "testData": "拆零",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textContentVerticalAlign": "middle"
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 18,
                        "top": 76.5,
                        "height": 576,
                        "width": 565.5,
                        "field": "printGoodList",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9,
                        "textAlign": "center",
                        "tableBorder": "border",
                        "tableHeaderBorder": "border",
                        "tableHeaderCellBorder": "border",
                        "tableBodyRowBorder": "border",
                        "tableBodyCellBorder": "border",
                        "columns": [
                            [
                                {
                                    "title": "序号",
                                    "field": "seq",
                                    "width": 44.12482249461565,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "序号"
                                },
                                {
                                    "title": "商品编号",
                                    "field": "goodsNumber",
                                    "width": 51.80538341621977,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "goodsnumber"
                                },
                                {
                                    "title": "商品名称",
                                    "field": "goodsName",
                                    "width": 126.1050598119539,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "goodsName"
                                },
                                {
                                    "title": "规格",
                                    "field": "goodsSpecs",
                                    "width": 95.98610225172722,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "goodsSpecs"
                                },
                                {
                                    "title": "单位",
                                    "field": "goodsUnit",
                                    "width": 63.74623648839951,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "goodsUnit"
                                },
                                {
                                    "title": "数量",
                                    "field": "tooDeployNum",
                                    "width": 41.8408848037553,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "tooDeployNum"
                                },
                                {
                                    "title": "生产日期",
                                    "field": "detailedDate",
                                    "width": 70.60113625475735,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "detailedDate"
                                },
                                {
                                    "title": "保质期",
                                    "field": "goodsWarranty",
                                    "width": 71.29037447857127,
                                    "colspan": 1,
                                    "rowspan": 1,
                                    "checked": true,
                                    "columnId": "goodsWarranty"
                                }
                            ]
                        ]
                    },
                    "printElementType": {
                        "title": "表格",
                        "type": "tableCustom"
                    }
                },
                {
                    "options": {
                        "left": 169.5,
                        "top": 688.5,
                        "height": 9.75,
                        "width": 40.5,
                        "title": "司机："
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 325.5,
                        "top": 688.5,
                        "height": 9.75,
                        "width": 48,
                        "title": "联系方式："
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 24,
                        "top": 688.5,
                        "height": 9.75,
                        "width": 120,
                        "title": "车牌号：",
                        "testData": "车牌号",
                        "fontFamily": "Microsoft YaHei",
                        "fontSize": 9
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 198,
                        "top": 697.5,
                        "height": 9,
                        "width": 90
                    },
                    "printElementType": {
                        "type": "hline"
                    }
                },
                {
                    "options": {
                        "left": 375,
                        "top": 697.5,
                        "height": 9,
                        "width": 90
                    },
                    "printElementType": {
                        "type": "hline"
                    }
                },
                {
                    "options": {
                        "left": 55.5,
                        "top": 699,
                        "height": 9,
                        "width": 90
                    },
                    "printElementType": {
                        "type": "hline"
                    }
                },
                {
                    "options": {
                        "left": 22.5,
                        "top": 718.5,
                        "height": 9.75,
                        "width": 46.5,
                        "title": "收货日期："
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 174,
                        "top": 720,
                        "height": 9.75,
                        "width": 66,
                        "title": "收货门店签字："
                    },
                    "printElementType": {
                        "type": "text"
                    }
                },
                {
                    "options": {
                        "left": 70.5,
                        "top": 729,
                        "height": 9,
                        "width": 90
                    },
                    "printElementType": {
                        "type": "hline"
                    }
                },
                {
                    "options": {
                        "left": 237,
                        "top": 732,
                        "height": 9,
                        "width": 90
                    },
                    "printElementType": {
                        "type": "hline"
                    }
                }
            ],
            "paperNumberLeft": 565.5,
            "paperNumberTop": 819,
            "paperNumberFormat": "paperNo/paperCount"
        }
    ]
};

